﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EzDesk.Core.Model;
using System.Runtime.Serialization;

namespace EzDesk.Apps.Model.Message
{
    [DataContract]
    public class ParticipatorsInfo
    {
        public ParticipatorsInfo()
        {
            UserParticipators = new List<SimpleUser>();
            GroupParticipators = new List<Group>();
            AllUserMemebers = new List<SimpleUser>();
        }

        /// <summary>
        /// 用户参与者描述字符串
        /// </summary>
        [DataMember]
        public string Memberstring { get; set; }

        /// <summary>
        /// 所有参与者用户列表
        /// </summary>
        [DataMember]
        public IList<SimpleUser> AllUserMemebers { get; set; }

        /// <summary>
        /// 参与者: 用户组
        /// </summary>
        [DataMember]
        public IList<Group> GroupParticipators { get; set; }

        /// <summary>
        /// 参与者: 用户
        /// </summary>
        [DataMember]
        public IList<SimpleUser> UserParticipators { get; set; }

    }
}
